package io.renren.modules.sys.service;

import io.renren.common.utils.PageUtils;
import io.renren.modules.sys.entity.OrdersEntity;
import io.renren.modules.sys.searcher.OrderSearcher;
import io.renren.modules.sys.vo.OrderVO;
import io.renren.modules.sys.vo.OrdersDownVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 订单
 *
 * @author generator
 * @email 707069921@qq.com
 * @date 2018-10-28 12:52:38
 */
public interface OrdersService {

    PageUtils queryPage(Map<String, Object> params);

    OrdersEntity inserOrders(OrderVO orderVO);

    List<OrdersDownVO> selectOrderListDown(OrderSearcher searcher);

    OrdersEntity findOrderById(Long id);

    Boolean updateOrder(OrdersEntity order);

    OrderVO selectOrderInfoList(Long orderId);
}

